/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2022-02-18 14:17:29
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-02-21 16:07:13
 */
import request from "@/utils/request.js";

// 所有列表
export const trusteeshipList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/list',
        params
    })
}

// 证书列表
export const certList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/certList',
        params
    })
}


// 资质列表
export const qualList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/qualList',
        params
    })
}

// 活动列表
export const trusteeshipActiveList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/trusteeshipActiveList',
        params
    })
}

// 新增活动
export const insertTrusteeshipActive = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/insertTrusteeshipActive',
        params
    })
}

// 删除活动
export const deleteTrusteeshipActive = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/deleteTrusteeshipActive',
        params
    })
}

// 更新活动
export const updateTrusteeshipActive = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/updateTrusteeshipActive',
        params
    })
}

// 订单列表
export const orderList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/orderList',
        params
    })
}

// 套餐列表
export const packageList = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/packageList',
        params
    })
}


// - 套餐修改
export const packageUpdate = data => {
    return request({
        method: 'post',
        url: '/serviceProvide/trusteeship/packageUpdate',
        data
    })
}
// 更换负责人
export const changeDirector = params => {
    return request({
        method: 'get',
        url: '/serviceProvide/trusteeship/changeDirector',
        params
    })
}

